//
//  Dictionary.swift
//  
//
//  Created by tangbl93 on 2021/1/19.
//

import Foundation

public extension Dictionary {
    
    // merge other dictionary, use new data first
    mutating func yx_append(contentsOf newElements: [Key : Value]) {
        return self.merge(newElements) { (current, new) -> Value in
            return new
        }
    }
}
